#define kGridNumSupportedRuntimes 5

extern bool GridCPUInit();
extern void GridCPUComputeTotalEnergy(int deviceNum,
                                      float* x,
                                      float* y,
                                      float* z,
                                      int numParticles,
                                      float* waveFunction,
                                      float* potential,
                                      float* kinetic);
extern bool GridCPUDeinit();

#ifdef USE_OPENCL
extern bool GridOpenCLInit();
extern void GridOpenCLComputeTotalEnergy(int devNum,
                                         float* x,
                                         float* y,
                                         float* z,
                                         int numParticles,
                                         float* waveFunction,
                                         float* potential,
                                         float* kinetic);
extern bool GridOpenCLDeinit();
#endif
